Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle flag and balance checks into authorize #17

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

gregtatcam
Copy link
Owner

No description provided.

submit(arg, jv);
if (submit(arg, jv) == tesSUCCESS)
{
if (arg.account == nullptr || *arg.account == issuer_)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats the need for arg.account == nullptr check here?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, the default account is the issuer.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's valid for arg.account to be nullptr. If arg.account is nullptr then by default it's the issuer_.

Copy link

@shawnxie999 shawnxie999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please feel free to merge it. Thanks!

@gregtatcam gregtatcam merged commit b68396f into cftoken-direct-pay Jan 19, 2024
6 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants